﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ADContral.aspx.cs" Inherits="BS.ADContral" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
     
        UserName:<asp:TextBox ID="txtUserName" runat="server">intranet.ddz.name\administrator</asp:TextBox>
        <br />
        OldPassword:<asp:TextBox ID="txtOldPassword" runat="server"></asp:TextBox>
        <br />
        NewPassword:<asp:TextBox ID="txtNewPassword" runat="server"></asp:TextBox>
        <br />
        NewPassword2:<asp:TextBox ID="txtNewPassword2" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="btnUpdatePsw" runat="server" onclick="btnUpdatePsw_Click" 
            Text="UpdatePassword" />
        <h3>获取所有域用户</h3>
        <asp:GridView ID="GridView1" runat="server">
        </asp:GridView><br />
        <asp:Button ID="Button1" runat="server" Text="生成所有用户" onclick="Button1_Click" />
        
                <h3>获取所有域部门</h3>
        <asp:GridView ID="GridView2" runat="server">
        </asp:GridView><br />
        <asp:Button ID="Button2" runat="server" Text="生成所有部门列表" 
            onclick="Button2_Click" />
        
    </div>
    </form>
</body>
</html>
